﻿<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"    
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        
    xmlns:my="clr-namespace:nl.tno.ict.multitouch.wpfmultitouch.controls;assembly=WpfMultitouch" 
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d"  >

    <!--
    <Style x:Key="{x:Type my:SlideList}" TargetType="{x:Type my:SlideList}">
        <Setter Property="Grid.ColumnSpan" Value="4"/>
        <Setter Property="Grid.RowSpan" Value="3"/>
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="{x:Type my:SlideList}">
                    <Border x:Name="bController" Width="Auto" Height="Auto" BorderThickness="0,0,0,0" CornerRadius="0,0,0,0" BorderBrush="{x:Null}" Background="#00000000" >
                       
                        <Grid>
                            <Grid.RowDefinitions>
                                <RowDefinition Height="40"/>
                                <RowDefinition/>
                                <RowDefinition Height="30"/>
                            </Grid.RowDefinitions>
                            <Border Margin="0,0,0,2" x:Name="bHeader" VerticalAlignment="Stretch" Height="Auto" Grid.Row="0" CornerRadius="4,4,4,4" Padding="0,0,0,0" HorizontalAlignment="Stretch" Width="Auto" Background="{Binding Path=TemplatedParent.SelectedUser.BackgroundBrush, Converter={StaticResource BackgroundBrushConverter}, Mode=Default}" BorderThickness="0,0,0,0">
                                <Grid Width="Auto" Height="Auto" Margin="0,2,0,0">
                                    <Grid.ColumnDefinitions>
                                        <ColumnDefinition/>
                                        <ColumnDefinition Width="Auto"/>
                                    </Grid.ColumnDefinitions>
                                    <TextBlock Margin="35,0,0,5" x:Name="lblName" VerticalAlignment="Top" FontSize="24" FontWeight="Bold" Text="{Binding Path=TemplatedParent.Title, RelativeSource={RelativeSource Self}}" TextWrapping="Wrap" Foreground="#FFFFC922"/>
                                    <local:TouchIcon Margin="0,0,5,0" HorizontalAlignment="Right" VerticalAlignment="Center" Width="20" Height="20" Icon="{DynamicResource iWindow}" x:Name="tiToggle"/>
                                    <ContentControl HorizontalAlignment="Left" VerticalAlignment="Center" Content="ContentControl" Width="25" Height="25" Margin="5,0,0,0" Template="{Binding Path=TemplatedParent.SelectedUser, RelativeSource={RelativeSource Self}, Converter={StaticResource UserIconConverter},Mode=Default}"/>

                                </Grid>
                            </Border>
                            <my:MTBorder Margin="0,0,0,0" x:Name="bMain" Grid.Row="1" Grid.RowSpan="2" Background="#FFFFFFFF" AdornersEnabled="False" CanBeClicked="False" CanBeDragged="False" CanBeRotated="False" CanBeScaled="True" FingerCount="0"  IsDragging="False" IsRotating="False" IsScaling="False" OnTop="True" ClipToBounds="False" TouchEnabled="True"  CornerRadius="4,4,4,4" Padding="5,5,5,5" BorderThickness="4,4,4,4" BorderBrush="{DynamicResource TransparentBorderBrush}">
                                <ContentPresenter Content="{TemplateBinding Content}"/>
                            </my:MTBorder>
                        </Grid>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>

    </Style>
-->
</ResourceDictionary>
